Previous: Store custom flags and keywords, Up: The Gnus Registry


9.19.5 Store arbitrary data

The registry has a simple API that uses a Message-ID as the key to store arbitrary data (as long as it can be converted to a list for storage).

— Function: gnus-registry-store-extra-entry (id key value)

Store value in the extra data key key for message id.

— Function: gnus-registry-delete-extra-entry (id key)

Delete the extra data key key for message id.

— Function: gnus-registry-fetch-extra (id key)

Get the extra data key key for message id.

— Variable: gnus-registry-extra-entries-precious

If any extra entries are precious, their presence will make the registry keep the whole entry forever, even if there are no groups for the Message-ID and if the size limit of the registry is reached. By default this is just (marks) so the custom registry marks are precious.